﻿<UserControl x:Class="SequenceViewer.WaitControl"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             mc:Ignorable="d" 
             d:DesignHeight="0" d:DesignWidth="0">
    <UserControl.Resources>
        <Style TargetType="Ellipse">
            <Setter Property="Fill" Value="#FF77AAFF"/>
            <Setter Property="Width" Value="10"/>
            <Setter Property="Height" Value="10"/>
        </Style>
        <Storyboard x:Key="CycleCircles" RepeatBehavior="Forever">
            <ColorAnimationUsingKeyFrames 
                BeginTime="00:00:00" RepeatBehavior="Forever"
                Storyboard.TargetName="c1" 
                Storyboard.TargetProperty="(Shape.Fill).(SolidColorBrush.Color)">
                <SplineColorKeyFrame KeyTime="00:00:00" Value="#FF77AAFF"/>
                <SplineColorKeyFrame KeyTime="00:00:00.25" Value="#DD77AAFF"/>
                <SplineColorKeyFrame KeyTime="00:00:00.5" Value="#BB77AAFF"/>
                <SplineColorKeyFrame KeyTime="00:00:00.75" Value="#9977AAFF"/>
                <SplineColorKeyFrame KeyTime="00:00:01" Value="#7777AAFF"/>
                <SplineColorKeyFrame KeyTime="00:00:01.25" Value="#5577AAFF"/>
                <SplineColorKeyFrame KeyTime="00:00:01.5" Value="#3377AAFF"/>
                <SplineColorKeyFrame KeyTime="00:00:01.75" Value="#1177AAFF"/>
                <SplineColorKeyFrame KeyTime="00:00:02" Value="#FF77AAFF"/>
            </ColorAnimationUsingKeyFrames>
            <ColorAnimationUsingKeyFrames 
                BeginTime="00:00:00.25" RepeatBehavior="Forever"
                Storyboard.TargetName="c2" 
                Storyboard.TargetProperty="(Shape.Fill).(SolidColorBrush.Color)">
                <SplineColorKeyFrame KeyTime="00:00:00" Value="#FF77AAFF"/>
                <SplineColorKeyFrame KeyTime="00:00:00.25" Value="#DD77AAFF"/>
                <SplineColorKeyFrame KeyTime="00:00:00.5" Value="#BB77AAFF"/>
                <SplineColorKeyFrame KeyTime="00:00:00.75" Value="#9977AAFF"/>
                <SplineColorKeyFrame KeyTime="00:00:01" Value="#7777AAFF"/>
                <SplineColorKeyFrame KeyTime="00:00:01.25" Value="#5577AAFF"/>
                <SplineColorKeyFrame KeyTime="00:00:01.5" Value="#3377AAFF"/>
                <SplineColorKeyFrame KeyTime="00:00:01.75" Value="#1177AAFF"/>
                <SplineColorKeyFrame KeyTime="00:00:02" Value="#FF77AAFF"/>
            </ColorAnimationUsingKeyFrames>
            <ColorAnimationUsingKeyFrames 
                BeginTime="00:00:00.5" RepeatBehavior="Forever"
                Storyboard.TargetName="c3"
                Storyboard.TargetProperty="(Shape.Fill).(SolidColorBrush.Color)">
                <SplineColorKeyFrame KeyTime="00:00:00" Value="#FF77AAFF"/>
                <SplineColorKeyFrame KeyTime="00:00:00.25" Value="#DD77AAFF"/>
                <SplineColorKeyFrame KeyTime="00:00:00.5" Value="#BB77AAFF"/>
                <SplineColorKeyFrame KeyTime="00:00:00.75" Value="#9977AAFF"/>
                <SplineColorKeyFrame KeyTime="00:00:01" Value="#7777AAFF"/>
                <SplineColorKeyFrame KeyTime="00:00:01.25" Value="#5577AAFF"/>
                <SplineColorKeyFrame KeyTime="00:00:01.5" Value="#3377AAFF"/>
                <SplineColorKeyFrame KeyTime="00:00:01.75" Value="#1177AAFF"/>
                <SplineColorKeyFrame KeyTime="00:00:02" Value="#FF77AAFF"/>
            </ColorAnimationUsingKeyFrames>
            <ColorAnimationUsingKeyFrames 
                BeginTime="00:00:00.75" RepeatBehavior="Forever"
                Storyboard.TargetName="c4" 
                Storyboard.TargetProperty="(Shape.Fill).(SolidColorBrush.Color)">
                <SplineColorKeyFrame KeyTime="00:00:00" Value="#FF77AAFF"/>
                <SplineColorKeyFrame KeyTime="00:00:00.25" Value="#DD77AAFF"/>
                <SplineColorKeyFrame KeyTime="00:00:00.5" Value="#BB77AAFF"/>
                <SplineColorKeyFrame KeyTime="00:00:00.75" Value="#9977AAFF"/>
                <SplineColorKeyFrame KeyTime="00:00:01" Value="#7777AAFF"/>
                <SplineColorKeyFrame KeyTime="00:00:01.25" Value="#5577AAFF"/>
                <SplineColorKeyFrame KeyTime="00:00:01.5" Value="#3377AAFF"/>
                <SplineColorKeyFrame KeyTime="00:00:01.75" Value="#1177AAFF"/>
                <SplineColorKeyFrame KeyTime="00:00:02" Value="#FF77AAFF"/>
            </ColorAnimationUsingKeyFrames>
            <ColorAnimationUsingKeyFrames 
                BeginTime="00:00:01" RepeatBehavior="Forever"
                Storyboard.TargetName="c5" 
                Storyboard.TargetProperty="(Shape.Fill).(SolidColorBrush.Color)">
                <SplineColorKeyFrame KeyTime="00:00:00" Value="#FF77AAFF"/>
                <SplineColorKeyFrame KeyTime="00:00:00.25" Value="#DD77AAFF"/>
                <SplineColorKeyFrame KeyTime="00:00:00.5" Value="#BB77AAFF"/>
                <SplineColorKeyFrame KeyTime="00:00:00.75" Value="#9977AAFF"/>
                <SplineColorKeyFrame KeyTime="00:00:01" Value="#7777AAFF"/>
                <SplineColorKeyFrame KeyTime="00:00:01.25" Value="#5577AAFF"/>
                <SplineColorKeyFrame KeyTime="00:00:01.5" Value="#3377AAFF"/>
                <SplineColorKeyFrame KeyTime="00:00:01.75" Value="#1177AAFF"/>
                <SplineColorKeyFrame KeyTime="00:00:02" Value="#FF77AAFF"/>
            </ColorAnimationUsingKeyFrames>
            <ColorAnimationUsingKeyFrames 
                BeginTime="00:00:01.25" RepeatBehavior="Forever"
                Storyboard.TargetName="c6" 
                Storyboard.TargetProperty="(Shape.Fill).(SolidColorBrush.Color)">
                <SplineColorKeyFrame KeyTime="00:00:00" Value="#FF77AAFF"/>
                <SplineColorKeyFrame KeyTime="00:00:00.25" Value="#DD77AAFF"/>
                <SplineColorKeyFrame KeyTime="00:00:00.5" Value="#BB77AAFF"/>
                <SplineColorKeyFrame KeyTime="00:00:00.75" Value="#9977AAFF"/>
                <SplineColorKeyFrame KeyTime="00:00:01" Value="#7777AAFF"/>
                <SplineColorKeyFrame KeyTime="00:00:01.25" Value="#5577AAFF"/>
                <SplineColorKeyFrame KeyTime="00:00:01.5" Value="#3377AAFF"/>
                <SplineColorKeyFrame KeyTime="00:00:01.75" Value="#1177AAFF"/>
                <SplineColorKeyFrame KeyTime="00:00:02" Value="#FF77AAFF"/>
            </ColorAnimationUsingKeyFrames>
            <ColorAnimationUsingKeyFrames 
                BeginTime="00:00:01.5" RepeatBehavior="Forever"
                Storyboard.TargetName="c7" 
                Storyboard.TargetProperty="(Shape.Fill).(SolidColorBrush.Color)">
                <SplineColorKeyFrame KeyTime="00:00:00" Value="#FF77AAFF"/>
                <SplineColorKeyFrame KeyTime="00:00:00.25" Value="#DD77AAFF"/>
                <SplineColorKeyFrame KeyTime="00:00:00.5" Value="#BB77AAFF"/>
                <SplineColorKeyFrame KeyTime="00:00:00.75" Value="#9977AAFF"/>
                <SplineColorKeyFrame KeyTime="00:00:01" Value="#7777AAFF"/>
                <SplineColorKeyFrame KeyTime="00:00:01.25" Value="#5577AAFF"/>
                <SplineColorKeyFrame KeyTime="00:00:01.5" Value="#3377AAFF"/>
                <SplineColorKeyFrame KeyTime="00:00:01.75" Value="#1177AAFF"/>
                <SplineColorKeyFrame KeyTime="00:00:02" Value="#FF77AAFF"/>
            </ColorAnimationUsingKeyFrames>
            <ColorAnimationUsingKeyFrames 
                BeginTime="00:00:01.75" RepeatBehavior="Forever"
                Storyboard.TargetName="c8" 
                Storyboard.TargetProperty="(Shape.Fill).(SolidColorBrush.Color)">
                <SplineColorKeyFrame KeyTime="00:00:00" Value="#FF77AAFF"/>
                <SplineColorKeyFrame KeyTime="00:00:00.25" Value="#DD77AAFF"/>
                <SplineColorKeyFrame KeyTime="00:00:00.5" Value="#BB77AAFF"/>
                <SplineColorKeyFrame KeyTime="00:00:00.75" Value="#9977AAFF"/>
                <SplineColorKeyFrame KeyTime="00:00:01" Value="#7777AAFF"/>
                <SplineColorKeyFrame KeyTime="00:00:01.25" Value="#5577AAFF"/>
                <SplineColorKeyFrame KeyTime="00:00:01.5" Value="#3377AAFF"/>
                <SplineColorKeyFrame KeyTime="00:00:01.75" Value="#1177AAFF"/>
                <SplineColorKeyFrame KeyTime="00:00:02" Value="#FF77AAFF"/>
            </ColorAnimationUsingKeyFrames>
        </Storyboard>
    </UserControl.Resources>
    <Canvas x:Name="LayoutRoot">
        <Ellipse x:Name="c1" Canvas.Left="-5" Canvas.Top="-20"/>
        <Ellipse x:Name="c2" Canvas.Left="5.6" Canvas.Top="-15.6"/>
        <Ellipse x:Name="c3" Canvas.Left="10" Canvas.Top="-5"/>
        <Ellipse x:Name="c4" Canvas.Left="5.6" Canvas.Top="5.6"/>
        <Ellipse x:Name="c5" Canvas.Left="-5" Canvas.Top="10"/>
        <Ellipse x:Name="c6" Canvas.Left="-15.6" Canvas.Top="5.6"/>
        <Ellipse x:Name="c7" Canvas.Left="-20" Canvas.Top="-5"/>
        <Ellipse x:Name="c8" Canvas.Left="-15.6" Canvas.Top="-15.6"/>
    </Canvas>
</UserControl>
